package com.xd.guessmusic.model;

import android.widget.Button;

/**
 * 文字按钮
 * Created by DGF on 2015/5/14.
 *
 **/
public class WordButton {

    /**
     * 按钮索引
     */
    private int index = -1;

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    /**
     * 按钮可见性
     */
    private boolean bVisible = true;

    public boolean isVisible() {
        return bVisible;
    }

    public void setVisible(boolean bVisible) {
        this.bVisible = bVisible;
    }

    /**
     * 按钮文字
     */
    private String text = "";

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    /**
     * 按钮
     */
    private Button button = null;

    public Button getButton() {
        return button;
    }

    public void setButton(Button button) {
        this.button = button;
    }

    public WordButton(String text){
        this.text=text;
    }
}
